package com.thingsgrid.appmanager.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("application_info")
public class ApplicationInfo  implements Serializable {
	private static final long serialVersionUID = 1L;

	private String id; //应用id

	private String applicationName;//应用名称
	private Float version;//应用版本号
	private String applicationFactory;//应用厂商
	private String applicationIntroduce;//功能简介
	private LocalDateTime shelvesTime;//上架时间
	private LocalDateTime putOffshelvestime;//下架时间
	private Integer applicationStats;//当前应用状态
	private String fileUrl;//文件地址
	private Float fileSize;//文件大小
	private Integer cpuUsed;//预计占用cpu
	private Float memoryUsed;//预计占用内存大小
	private String dockerfileContent;//生成Dockerfile里的内容
	private String createUser;//操作用户
	private LocalDateTime createTime;//创建时间
	@TableLogic(value = "0", delval = "1")
	private Integer isDelete;//是否删除
}
